]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st: Fix property type
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 1 Aug 2019 10:43:48 +0000 (12:43 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 1 Aug 2019 10:44:33 +0000 (12:44 +0200)
Commit 8f3554ff accidentally changed the type of the StWidget:track-hover
property from boolean to object.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1482

src/st/st-widget.c

index 7aff6e50c06ac1989a3d8affd76e8f8c0d02e509..5fa676dca05649ae296c6369abf73e521bd17b48 100644 (file)
@@ -927,11 +927,11 @@ st_widget_class_init (StWidgetClass *klass)
    * widget.
    */
   props[PROP_TRACK_HOVER] =
-     g_param_spec_object ("track-hover",
-                          "Track hover",
-                          "Determines whether the widget tracks hover state",
-                          FALSE,
-                          ST_PARAM_READWRITE);
+     g_param_spec_boolean ("track-hover",
+                           "Track hover",
+                           "Determines whether the widget tracks hover state",
+                           FALSE,
+                           ST_PARAM_READWRITE);
 
   /**
    * StWidget:hover: